package com.object;

import java.util.AbstractList;

public class LoginLog {
    private String uid;
    private String name;
    private String loginTime;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(String loginTime) {
        this.loginTime = loginTime;
    }

    public LoginLog(String uid, String name, String loginTime) {
        this.uid = uid;
        this.name = name;
        this.loginTime = loginTime;
    }
    public LoginLog() {
    }
    public  AbstractList<LoginLog>  viewLogin(AbstractList<LoginLog> loginLogs){
        System.out.println("登录ID      登录用户名      登录时间");
        for (LoginLog loginLog : loginLogs) {
            System.out.println(loginLog.getUid()+"      "+loginLog.getName()+"      "+loginLog.getLoginTime());
        }
        return loginLogs;
    }
}
